<template>
    <div class="app-container">
        <el-tabs v-model="activeName" @tab-click="handleClick" style="margin-top: -20px;">
            <el-tab-pane label="在职员工" name="first">在职员工</el-tab-pane>
            <el-tab-pane label="离职员工" name="second">离职员工</el-tab-pane>
        </el-tabs>
    </div>
  </template>
  <script>
  import { asyncYgxx } from "@/api/system/crm/crm";
  
  export default {
    name: "Queryygxx",
    data() {
      return {
        activeName: 'first'
      };
    },
    created() {
      
    },
    methods: {
        handleClick(tab, event) {
            console.log(tab, event);
        }
    }
  };
  </script>